// by Xeno
private ["_vehicle"];
#include "x_setup.sqf"

#define __Poss _poss = x_sm_pos select 0;
#define __PossAndOther _poss = x_sm_pos select 0;_pos_other = x_sm_pos select 1;

x_sm_pos = [[6533.7964,8534.0693,0]]; // index: 48,   Fuel station in camp near Bor
x_sm_type = "normal"; // "convoy"

#ifdef __SMMISSIONS_MARKER__
if (true) exitWith {};
#endif

if (X_Client) then {
	d_current_mission_text = "The enemy has a storage tank near Xibo.  The enemy uses it to store kool-aid.  Destroy it!.";
	d_current_mission_resolved_text = "Good job. The storage tank is destroyed and their kool-aid empire is in ruin.";
};

if (isServer) then {
	__Poss
	_vehicle = "Land_Ind_TankBig" createvehicle (_poss);
	_vehicle setDir 0;
	#ifndef __TT__
	[_vehicle] execFSM "fsms\XCheckSMHardTarget.fsm";
	#else
	[_vehicle] execFSM "fsms\XCheckSMHardTargetTT.fsm";
	#endif
	sleep 2.22;
	["uaz_mg", 1, "brdm", 1, "uaz_grenade", 1, _poss,1,120,true] spawn XCreateArmor;
	sleep 2.123;
	["specops", 1, "basic", 2, _poss,110,true] spawn XCreateInf;
	__AddToExtraVec(_vehicle)
};

if (true) exitWith {};